package com.zg.paging3.activity.java;

import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;

import com.zg.paging3.activity.java.model.ArticleBeanInJava;

/***
 * @Author: zxd
 * @CreateDate: 2021/7/16 14:10
 * @Description:
 */
public class JavaViewModel extends ViewModel {

    private MutableLiveData<ArticleBeanInJava> data;

    public JavaViewModel() {
        data = new MutableLiveData<>();
    }

    public MutableLiveData<ArticleBeanInJava> getData() {
//        new MyDataSource()
        return data;
    }
}
